<?php
namespace app\api\model;

use think\Model;
use app\common\model\BaseModel;

/**
 * 车辆核验模型
 * Class VehicleVerification
 * @package app\api\model
 */
class VehicleVerification extends BaseModel
{
    // 表名
    protected $name = 'vehicle_verification';
    
    // 自动写入时间戳
    protected $autoWriteTimestamp = true;
    protected $createTime = 'create_time';
    protected $updateTime = 'update_time';
    
    /**
     * 关联会员
     * @return \think\model\relation\BelongsTo
     */
    public function member()
    {
        return $this->belongsTo('Member', 'member_id');
    }
} 